<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title>{var:btn}微博_无名简单微博V3</title>
<link href="{$template}style/iNove.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrap">
   {include("head.htm")}
  <div id="content">
    <div id="main">      
	 <div class="ef"><input class="log" size="40" name="tit" id="tit" value="{$v.title}" placeholder="标题 (可为空)" type="text"> {if:"{var:c}"="edit"}<input class="log" size="20" name="atime" id="atime" value="{$v.atime}" type="text">{/if}</div>
	 <div class="ef"><textarea name="summ" placeholder="描述，为空自动提取"  rows="2" id="summ" class="log addlog">{$v.summ}</textarea></div>
	 <div class="ef"><textarea name="log" rows="12" id="log" class="log addlog">{$v.content}</textarea><input name="c" id="c" value="{var:c}" type="hidden"><input name="id" id="id" value="{$v.id}" type="hidden"></div>
	 <div class="ef"><select name="pic" id="pic" class="select"><option value="">--请选择首图--</option>{if:"{$v.pic}"<>""} <option value="{$v.pic}" selected>{$v.pic|fpic}</option> {/if} </select>
</div>
	 <div class="ef"><input maxlength="8" name="pass" id="pass" class="log" placeholder="密码" value="{$v.pass}" type="text" /></div>
	  
	 <button name="add" id="addpost" onclick="savelog();" class="btn"> {var:btn} </button> 
    </div>
     {include("right.htm")}
  </div>
  <div id="footer">{include("foot.htm")}</div>
</div>
<script type="text/javascript" language="javascript" src="http://lib.sinaapp.com/js/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="assets/edit/nicEdit.js"></script>
<script type="text/javascript" language="javascript" src="{$template}/js/ajax.js"></script>
<script>
 //upic();
 new nicEditor({iconsPath : 'assets/edit/nicEditorIcons.gif',fullPanel : true}).panelInstance('log');
 new nicEditor({iconsPath : 'assets/edit/nicEditorIcons.gif',buttonList : ['forecolor','bold','italic','underline','link','unlink','xhtml']}).panelInstance('summ');
</script>
</body>
</html>
